package com.face.bean.jsu;

import java.sql.Timestamp;
import java.text.SimpleDateFormat;

public class FindPopulation {

	// private String faceid;
	private String facepath;
	private String province;
	private String city;
	private String location;
	private String timestamp;
	private String message;
	
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Timestamp timestamp) {
		SimpleDateFormat dataformat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		this.timestamp = dataformat.format(timestamp);
	}

	// public String getFaceid() {
	// return faceid;
	// }
	// public void setFaceid(String faceid) {
	// this.faceid = faceid;
	// }
	public String getFacepath() {
		return facepath;
	}

	public void setFacepath(String facepath) {
		this.facepath = facepath;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	@Override
	public String toString() {
		return "FindPopulation [facepath=" + facepath + ", province="
				+ province + ", city=" + city + ", location=" + location
				+ ", timestamp=" + timestamp + "]";
	}

	private int cityid=0;
	public void setCityid(int cityid) {
		// TODO Auto-generated method stub
		this.cityid=cityid;
	}
    public int getCityid(){
    	return cityid;
    }
}
